<%@ page language="java" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/jsp/pub/include.jsp" %>
<script type="text/javascript">
document.write("<ul>");
var url = document.URL;

    if(url.indexOf("produce")!=-1){
        document.write('<li class="bj"><a href="<c:url value="/clazz/produce?m=list"/>">企业产品</a></li>');
    }
    else{
        document.write('<li><a href="<c:url value="/clazz/produce?m=list"/>">企业产品</a></li>');
    }
    <c:if test="${sessionScope.user.permission.code <=2}">
        if(url.indexOf("project")!=-1){
            document.write('<li class="bj"><a href="<c:url value="/clazz/project?m=list"/>">项目管理</a></li>');
        }
        else{
            document.write('<li><a href="<c:url value="/clazz/project?m=list"/>">项目管理</a></li>');
        }

        if(url.indexOf("kpi")!=-1){
            document.write('<li class="bj"><a href="<c:url value="/clazz/kpi?m=list"/>">绩效指标</a></li>');
        }
        else{
            document.write('<li><a href="<c:url value="/clazz/kpi?m=list"/>">绩效指标</a></li>');
        }
    </c:if>
    if(url.indexOf("unfinished")!=-1){
        document.write('<li class="bj"><a href="<c:url value="/clazz/unfinished?m=list"/>">待我处理</a><font color="#FF0000" > <c:out value="${sessionScope.user.uf}"/></font> </li>');
    }
    else{
        document.write('<li><a href="<c:url value="/clazz/unfinished?m=list"/>">待我处理</a><font color="#FF0000" > <c:out value="${sessionScope.user.uf}"/></font></li>');
    }

        if(url.indexOf("process")!=-1){
            document.write('<li class="bj"><a href="<c:url value="/clazz/process?m=list"/>">进度查看</a></li>');
        }
        else{
            document.write('<li><a href="<c:url value="/clazz/process?m=list"/>">进度查看</a></li>');
        }

        if(url.indexOf("hasfinished")!=-1){
            document.write('<li class="bj"><a href="<c:url value="/clazz/hasfinished?m=list"/>">结束项</a></li>');
        }
        else{
            document.write('<li><a href="<c:url value="/clazz/hasfinished?m=list"/>">结束项</a></li>');
        }
    <%--document.write('<br />');--%>

    <%--if(url.indexOf("clazzLibraryList")!=-1){--%>
        <%--document.write('<li class="bj"><a href="<c:url value="/admin/clazzLibraryList?m=list"/>">题库管理</a></li>');--%>
    <%--}--%>
    <%--else{--%>
        <%--document.write('<li><a href="<c:url value="/admin/clazzLibraryList?m=list"/>">题库管理</a></li>');--%>
    <%--}--%>
    <%--if(url.indexOf("clazzLibraryadd")!=-1){--%>
        <%--document.write('<li class="bj"><a href="<c:url value="/admin/clazzLibraryadd?m=to"/>">题库添加</a></li>');--%>
    <%--}--%>
    <%--else{--%>
        <%--document.write('<li><a href="<c:url value="/admin/clazzLibraryadd?m=to"/>">题库添加</a></li>');--%>
    <%--}--%>


    document.write("</ul>");
</script>